<template>
  <div :style="{ color: color, display: 'flex', alignItems: 'center' }">
    <el-icon :size="15" style="margin-right: 4px;"><Warning /></el-icon>
    <span> {{ placeholder }}</span>
  </div>
</template>

<script>
import componentMinxins from '/@/views/setting/workflow/components/ComponentMinxins'
import { Warning } from '@element-plus/icons-vue'

export default {
    name: 'Description',
    mixins: [componentMinxins],
    components: {
        Warning
    },
    props: {
        color: {
            type: String,
            default: '#868686',
        },
        placeholder: {
            type: String,
            default: '只是一段说明文字',
        },
    },
}
</script>

<style>

</style>